/*
* 全局事件派发，区别于GameDispatcher，此派发器是整个app派发的，当然此工程只有一个小游戏，所以没有什么区别
*/
class Dispatcher extends Laya.EventDispatcher{
    /**模块终止*/public static MODULE_ABORT:string = "module_abort";
	/**模块关闭*/public static MODULE_HIDE:string = "module_hide";
    private static _instance:Dispatcher;
    public static getInstance():Dispatcher
    {
        if(Dispatcher._instance == null)
            Dispatcher._instance = new Dispatcher;
        return Dispatcher._instance;
    }
    constructor(){
        super();
    }
}